Welcome![Sign In][Sign Up]
Location:
Search - word Itextselection

Search list

[ActiveX/DCOM/ATLControlWord

Description: VC通过模板来控制Word表格 //这里没有用word里提供的table对象,而是用了selection对象,用它控制比table简单 //而且用模板可以很容易地设置表格中的格式,若通过table对象则设置字体、对齐方式是很难控制 //这里主要是通过移动word中的输入点位置来定位要写的位置。然后再写入内容到单元格. //selection对象主要调用MoveDown来进行定位,MoveDowm是让word响应键盘上的上下箭头事件。 //其中参数4表示移动一个单元字,而5表示移动一个单元行,其MoveUp,MoveLeft,MoveRight也一样 //具体可见MSDN中的ITextSelection::MoveDown Method -VC through the template to control Word forms / / There is no word used in providing the right table like, but use the object selection, used it to control than simple table / / and use templates can be easily set up tables in the format If the object through the table is set fonts, Alignment will be very difficult to control / / here mainly through word of mobile input location positioning write to the location. Then write the contents of the cells. / / Selection main targets MoveDown to call for positioning MoveDowm is word on the keyboard in response to the next arrow incident. / / Parameter four said a mobile unit, whereas in five said a mobile unit OK, MoveUp. MoveLeft. MoveRight is the same / / visible in the MSDN ITextSelection : : MoveDown Method
Platform: | Size: 80541 | Author: 相生昌 | Hits:

[ActiveX/DCOM/ATLControlWord

Description: VC通过模板来控制Word表格 //这里没有用word里提供的table对象,而是用了selection对象,用它控制比table简单 //而且用模板可以很容易地设置表格中的格式,若通过table对象则设置字体、对齐方式是很难控制 //这里主要是通过移动word中的输入点位置来定位要写的位置。然后再写入内容到单元格. //selection对象主要调用MoveDown来进行定位,MoveDowm是让word响应键盘上的上下箭头事件。 //其中参数4表示移动一个单元字,而5表示移动一个单元行,其MoveUp,MoveLeft,MoveRight也一样 //具体可见MSDN中的ITextSelection::MoveDown Method -VC through the template to control Word forms// There is no word used in providing the right table like, but use the object selection, used it to control than simple table// and use templates can be easily set up tables in the format If the object through the table is set fonts, Alignment will be very difficult to control// here mainly through word of mobile input location positioning write to the location. Then write the contents of the cells.// Selection main targets MoveDown to call for positioning MoveDowm is word on the keyboard in response to the next arrow incident.// Parameter four said a mobile unit, whereas in five said a mobile unit OK, MoveUp. MoveLeft. MoveRight is the same// visible in the MSDN ITextSelection : : MoveDown Method
Platform: | Size: 79872 | Author: 相生昌 | Hits:

CodeBus www.codebus.net